package com.bzm.goods.controller;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 * 产品信息 前端控制器
 * </p>
 *
 * @author hemiao
 * @since 2020-10-21
 */
@Controller
@RequestMapping("/dubboGoodsInfo")
public class GoodsInfoController {

    @Value("${server.port}")
    private Integer port;

    @GetMapping("/getServerPort")
    public String getServerPort(String name) {
        return "Call By OpenFeign Request Message: " + name;
    }

}
